<div class="layui-form-item">
    <label class="layui-form-label required">代码</label>
    <div class="layui-input-block">
                    <textarea name="script" rows="20" class="layui-textarea"
                              placeholder="请输入内容">@if(isset($data) && $data->type == 'script'){{$data->content ?? ''}}@endif</textarea>
    </div>
</div>
